package com.xhsj.user.hr.process.hrInterviewRegistration.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xhsj.user.hr.base.BaseEntity;
import java.time.LocalDate;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * hr面试登记表-教育经历
 * </p>
 *
 * @author liuqinghua
 * @since 2020-09-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_hr_interview_registration_education")
public class TbHrInterviewRegistrationEducation extends BaseEntity<TbHrInterviewRegistrationEducation> {

    private static final long serialVersionUID = 1L;

    /**
     * 面试记录id 逻辑外键 tb_hr_interview_registration
     */
    @TableField("interview_registration_id")
    private Long interviewRegistrationId;

    /**
     * 开始时间
     */
    @TableField("start_date")
    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date startDate;

    /**
     * 结束时间
     */
    @TableField("end_date")
    @DateTimeFormat(pattern = "yyyy-MM")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date endDate;

    /**
     * 学校
     */
    @TableField("school")
    private String school;

    /**
     * 专业
     */
    @TableField("profession")
    private String profession;

    /**
     * 学历学位
     */
    @TableField("degree")
    private String degree;


}
